package org.tuoren.official.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.tuoren.common.core.validate.AddGroup;
import org.tuoren.common.core.validate.EditGroup;
import org.tuoren.common.mybatis.core.domain.BaseEntity;
import org.tuoren.official.domain.TCollaborationChannel;

/**
 * 创新联合体业务对象 t_collaboration_channel
 *
 * @author Lion Li
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TCollaborationChannel.class, reverseConvertGenerate = false)
public class TCollaborationChannelBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 合作通道标题
     */
    @NotBlank(message = "创新联合体不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 合作通道标题
     */
    @NotBlank(message = "创新联合体不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channelDesc;

    /**
     * 视频
     */
//    @NotBlank(message = "了解更多视频不能为空", groups = { AddGroup.class, EditGroup.class })
    private String learVideo;
}
